import i18n from '@/locales/index';

export function translate(key) {
  return i18n.global.t(key);
}